<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="/global/global-head.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <title>吉车惠后台管理系统</title>
    <%@include file="/global/global-other.jsp" %>
    <!--/推送通知用-->
    <link rel="stylesheet" type="text/css" href="${ctx}/assets/css/ztstz.css?v=1.1">
    <script type="text/javascript" src="${ctx}/assets/js/ztstz.js?v=20"></script>
    <!--/推送通知用-->
    <script type="text/javascript">
        $(function(){
            /*整体选项卡*/
            $('#xzyq').tabs({
                border:false,
                onSelect:function(title){
                    /* alert(title+' is selected'); */
                }
            });
            /*Android*/
            /*Android通知内容*/
            $('#androidTz').panel({
                width:'100%',
                height:'320px',
                title: '通知内容<font size="2">（必填）</font>',
                collapsible:false,
                collapsed:false,

            });
            /*android高级选项*/
            $('#androidGj').panel({
                width:'100%',
                height:'',
                title: '高级设置<font size="2">（选填）</font>',
                headerCls:' background:#06C',
                collapsible:true,
                collapsed:true,

            });
            /*点击通知后操作*/
            $('#tzczh').tabs({
                border:false,
            });
            /*Android自定义参数*/
            $("#five #fiveinput").click(function(){
                if($(".fivep").css("display")=="none"){
                    $(".fivep").show();
                }else{
                    $(".fivep").hide();
                }
            });
            /*/Android*/
            /*IOS*/
            /*IOS通知内容*/
            $('#iosTz').panel({
                width:'100%',
                height:'203px',
                title: '通知内容<font size="2">（必填）</font>',
                collapsible:false,
                collapsed:false,
            });
            /*IOS推送环境*/
            $('#iosTshj').panel({
                width:'100%',
                height:'131px',
                title: '推送环境<font size="2">（必填）</font>',
                collapsible:false,
                collapsed:false,
            });
            /*ios高级选项*/
            $('#iosGj').panel({
                width:'100%',
                height:'',
                title: '高级设置<font size="2">（选填）</font>',
                headerCls:' background:#06C',
                collapsible:true,
                collapsed:true,

            });
            /*ios自定义参数*/
            $("#iosfive #iosfiveinput").click(function(){
                if($(".iosfivep").css("display")=="none"){
                    $(".iosfivep").show();
                }else{
                    $(".iosfivep").hide();
                }
            });
            /*/IOS*/

            $(".tabs-first").css({"border-left":"1px solid #dddddd"});


            submitAndroidForm = function(){
                $('#android_form').form('submit',{
                    url:'${ctx}/mobile/application/push/notice/insert',
                    queryParams:{_m:'insertAndroid'},
                    onSubmit:function(){
                        if($(this).form('enableValidation').form('validate')){
                            return true;
                        }else{
                            return false;
                        }
                    },
                    success:function(data){
                        var json =  eval("(" +data+ ")");
                        if(statusMsg(json)){
                            parent.$.messager.alert("提示","发送成功！","info");
                        }
                    }
                });
            };
        })
    </script>
    <style>
        .panel {
            margin-bottom: 20px;
            background-color: #ffffff;
            border: 1px solid transparent;
            border-radius: 4px;
            -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
        }
        .panel-header{ background:#0682e1;color:#000;}
        .panel-title{ color: #ffffff;
            font-size: 16px;
            padding-left: 15px;
        }

        /*aa*/
        ul,li {
            margin: 0;
            padding: 0;
            list-style: none;
        }
    </style>
</head>
<body>
<div class="easyui-layout" data-options="fit:true">
    <div id="xzyq" class="easyui-tabs" style="width:900px;height:100%;padding:15px;">
        <!----------------------------------------------------------------------------------Android---------------------------------------------------------------------------------->
        <div title="Android" style="padding:20px;display:none;">
            <form  role="form" method="POST" name="android_form" id="android_form" class="easyui-form form form-horizontal" data-options="novalidate:true">
                <input type="hidden" id="appName" name="appName" value=""/>
                <!--通知内容-->
            <div id="androidTz" style="padding:10px;">
                <div>移动应用：</div>
                <div class="col-sm-12" style=" margin-bottom:20px;">
                    <input type="text" id="appId" name="appId" value="" class="form-control easyui-combobox" style="width:100%;height:34px;line-height:34px;" data-options="valueField: 'code',textField: 'name',url:'${ctx}/tcode/all/method?method=getCacheCdRoleType',editable:false" required="required">
                </div>
                <div>通知标题：<span id="titlelen" class=" text-right" style=" float:right;">0/20</span></div>
                <div class="col-sm-12" style=" margin-bottom:20px;">
                    <input type="text" autocomplete="on" id="adr_title" onkeyup="title_len();" onclick="title_len();" name="title"  class="form-control easyui-validatebox" placeholder="车行天下" required="required">
                </div>
                <div>通知内容：<span id="adrcontentlen" class=" text-right" style=" float:right;">0/60</span></div>
                <div class="col-sm-12">
                    <textarea id="adr_content" onkeyup="adrContent_len();" onclick="adrContent_len();" class="form-control easyui-validatebox"  autocomplete="on" ng-trim="true" name="content" rows="3" placeholder="请输入通知内容" required="required"></textarea>
                </div>
            </div>
            <!--字数限制-->
            <script language="javascript" type="text/javascript">
                //标题
                function title_len(){
                    var value = $('#adr_title').val().length;
                    if(value == 20){
                        var string = "<span style=\"color:#FF0000\">"+value+"/20</span>";
                    }else{
                        var string = "<span style=\"color:#FF0000\">"+value+"</span>/20";
                    }
                    $('#titlelen').html(string);
                }
                //内容
                function adrContent_len(){
                    var value = $('#adr_content').val().length;
                    if(value == 60){
                        var string = "<span style=\"color:#FF0000\">"+value+"/60</span>";
                    }else{
                        var string = "<span style=\"color:#FF0000\">"+value+"</span>/60";
                    }
                    $('#adrcontentlen').html(string);
                }
            </script>
            <!--/字数限制-->
            <!--高级设置-->

            <div id="androidGj" style="padding:15px;">
                <!--点击通知后操作-->
                <div style="width:99%; border-bottom:#CCC solid 1px; padding:10px 0;">点击通知后操作：</div>

                <ul id="adrTabfirst" style=" padding:15px 9%;">
                    <div style=" float:left; padding:8px 0; margin-right:3%;"><label>后续操作：</label></div>
                    <li class="tabin">
                        <label class="checkbox-inline">
                            <input type="radio" name="androidBackgroundOperation"  value="APPLICATION" ng-checked="true" checked > 打开应用
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidBackgroundOperation"  value="ACTIVITY" ng-checked="true" > 打开指定页面
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidBackgroundOperation"  value="URL" ng-checked="true" > 打开指定网页
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidBackgroundOperation"  value="NONE" ng-checked="true" > 无跳转
                        </label>
                    </li>
                </ul>
                <!--打开应用-->
                <div class="contentfirst" style="clear:both;padding:0px;"></div>
                <!--打开指定页面-->
                <div class="contentfirst">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" id="androidOperationContent_activity" name="androidOperationContent_activity" class="form-control" ng-model="operationNativeTarget" placeholder="请输入native"></div>
                </div>
                <!--打开指定网页-->
                <div class="contentfirst">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" id="androidOperationContent_url" name="androidOperationContent_url" class="form-control" ng-model="operationNativeTarget" placeholder="请输入URL"></div>
                </div>
                <!--无跳转-->
                <div class="contentfirst" style="clear:both;padding:0px;"></div>
                <!--/点击通知后操作-->
                <!--adr自定义参数-->
                <div style=" float:left;width:99%; padding:0 9%;">
                    <div style=" float:left; padding:8px 0; margin-right:3%;"><label>自定义参数：</label></div>

                    <div id="five" style="float:left; padding:5px 14px;">
                        <label class="checkbox-inline" >
                            <input type="checkbox" name="aa"  value="1" id="fiveinput"  > key-value（最多五个）：
                        </label>
                    </div>
                </div>
                <div class="fivep">
                    <table id="adrFive" style="width:100%;">
                        <tr>
                            <th class="fivetitle">key</th>
                            <th class="fivetitle">value</th>
                            <th class="fivesc"></th>
                        </tr>
                        <tr>
                            <td class="fivebody"><input type="text" name="androidCustomParameters_key" class="form-control"></td>
                            <td class="fivebody"><input type="text" name="androidCustomParameters_value" class="form-control"></td>
                            <td class=""></td>
                        </tr>
                    </table>
                    <div class="fiveadd" onclick="javascript:addCurrentRow();" >+添加Key-Value</div>

                    <script>
                        function addCurrentRow()
                        {
                            var a = $('#adrFive').children().children().length;
                            if(a<6){
                                var trcomp="<tr><td class='fivebody'><input type='text' name='androidCustomParameters_key' class='form-control'></input></td><td class='fivebody'><input type='text' name='androidCustomParameters_value' class='form-control'></td><td class='fivesctxt'><a href='javascript:;' onclick='deleteCurrentRow(this);'><font>删除</font></a></td></tr>";
                                $("#adrFive tr:last-child").after(trcomp);
                            }
                        }
                        function deleteCurrentRow(obj)
                        {
                            var tr=obj.parentNode.parentNode;
                            var tbody=tr.parentNode;
                            tbody.removeChild(tr);
                        }


                    </script>

                </div>
                <!--/adr自定义参数-->
                <div class="clearfix"></div>
                <!--通知提醒方式-->
                <div style="width:99%; border-bottom:#CCC solid 1px; padding:10px 0; float:left; margin-top:20px;">通知提醒方式：</div>
                <ul class="tabsame"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:20px 0; margin-right:3%;"><label>提醒方式：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidRemindWay"  value="VIBRATE" ng-checked="true" checked > 震动
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidRemindWay"  value="SOUND" ng-checked="true" > 声音
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidRemindWay"  value="BOTH" ng-checked="true" > 震动&声音
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="androidRemindWay"  value="NONE" ng-checked="true" > 静音
                        </label>
                    </li>
                </ul>
                <!--/通知提醒方式-->
                <div class="clearfix"></div>
                <!--发送对象及时间-->
                <div style="width:99%; border-bottom:#CCC solid 1px; padding:10px 0; float:left; margin-top:20px;">发送对象及时间：</div>
                <!--发送对象-->
                <ul id="adrTabsecond"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:20px 0 0 0; margin-right:3%;"><label>发送对象：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="sendObject"  value="ALL" ng-checked="true" checked > 所有人
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="sendObject"  value="DEVICE" ng-checked="true" > 指定终端
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="sendObject"  value="ACCOUNT" ng-checked="true" > 指定账号
                        </label>
                    </li>
                </ul>
                <!--所有人-->
                <div class="contentsecond" style="clear:both;padding:0px;"></div>
                <!--指定终端-->
                <div class="contentsecond">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" id="objectContent_device" name="objectContent_device" class="form-control" ng-model="" placeholder="请输入DeviceID，多个终端用逗号分隔"></div>
                </div>
                <!--指定账号-->
                <div class="contentsecond">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" id="objectContent_account" name="objectContent_account" class="form-control" ng-model="" placeholder="请输入账号，多个账号用逗号分隔"></div>
                </div>
                <!--/发送对象-->
                <!--发送时间-->
                <div class="clearfix"></div>
                <ul id="adrTabthird"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:0px 0; margin-right:3%;"><label>发送时间：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="sendWay"  value="1" checked > 立即发送
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="sendWay"  value="2" > 定时发送
                        </label>
                    </li>

                </ul>
                <!--立即发送-->
                <div class="contentthird" style="clear:both;padding:0px;"></div>
                <!--定时发送-->
                <div class="contentthird">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2">
                        <input id="sendTime" name="sendTime" class="form-control easyui-datetimebox" value="10/11/2012 2:3:56" style="width:200px;height:35px;" data-options="editable:false">
                    </div>
                </div>
                <!--/发送时间-->
                <!--离线保存-->
                <div class="clearfix"></div>
                <ul id="adrTabforth"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:0px 0; margin-right:3%;"><label>离线保存：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="offlineSave"  value="2"> 不保存
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="offlineSave"  value="1" checked > 保存
                        </label>
                    </li>
                </ul>
                <!--不保存-->
                <div class="contentforth" style="clear:both;padding:0px;"></div>
                <!--保存-->
                <div class="contentforth contentin4">
                    <div class="well col-sm-12">保存 <input type="number" ng-model="data.timeout" id="saveHours" name="saveHours" value="72" max="72" min="1" placeholder="72" required="required" class="easyui-validatebox ng-pristine ng-invalid ng-invalid-number ng-valid-max ng-valid-min"/> 小时，该时段之后再上线的用户将收不到推送 <span ng-show="" class="alert-danger ng-hide">至少保存1小时</span> <span ng-show="" class="alert-danger ng-hide">最多只能保存72小时</span></div>
                </div>
                <!--/离线保存-->
                <!--/发送对象及时间-->
                <div class="clearfix"></div>
                <ul class="tabsamea" style="padding:15px 9%;">
                    <div style=" float:left; padding:0px 0; margin-right:3%;"><label>系统消息：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="isSendSystemMessage"  value="1" checked > 是
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="isSendSystemMessage"  value="2" > 否
                        </label>
                    </li>
                </ul>
            </div>
            <div class="col-sm-10">
                <button type="button" onclick="submitAndroidForm()" class="btn btn-info btn-squared" style="width:120px">
                    确定发送
                </button>
            </div>

            </form>
        </div>
        <!----------------------------------------------------------------------------------IOS---------------------------------------------------------------------------------->
        <div title="IOS"  style="overflow:auto;padding:20px;display:none;">
            <!--ios通知内容-->
            <div id="iosTz" style="padding:10px;">

                <div>通知内容：<span id="ioscontentlen" class=" text-right" style=" float:right;">0/60</span></div>
                <div class="form-group">
                    <div class="col-sm-12">
                        <textarea id="ios_content" onkeyup="iosContent_len();" onclick="iosContent_len();" class="form-control ng-pristine ng-invalid ng-invalid-required ng-valid-maxlength" autocomplete="on" ng-trim="true" name="content" ng-model="" ng-required="true" rows="3" ng-maxlength="60" maxlength="60" placeholder="请输入通知内容" required></textarea>
                    </div>
                </div>
            </div>
            <!--字数限制-->
            <script language="javascript" type="text/javascript">
                //ios内容
                function iosContent_len(){
                    var value = $('#ios_content').val().length;
                    if(value == 60){
                        var string = "<span style=\"color:#FF0000\">"+value+"/60</span>";
                    }else{
                        var string = "<span style=\"color:#FF0000\">"+value+"</span>/60";
                    }
                    $('#ioscontentlen').html(string);
                }
            </script>
            <!--/字数限制-->
            <!--ios推送环境-->
            <div id="iosTshj" style="padding:10px;">
                <ul id="iosTabfirst"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:20px 0; margin-right:3%;"><label></label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="tshj"  value="1" checked > 生产环境
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="tshj"  value="1"> 开发环境
                        </label>
                    </li>
                </ul>


            </div>
            <!--ios高级设置-->
            <div id="iosGj" style="padding:15px;">
                <!--点击通知后操作-->
                <div style="width:99%; border-bottom:#CCC solid 1px; padding:10px 0;">点击通知后操作：</div>

                <ul class="iostabsame" style=" padding:15px 9%;">
                    <div style=" float:left; padding:8px 0; margin-right:3%;"><label>后续操作：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="a"  value="1" checked > 打开应用
                        </label>
                    </li>
                </ul>

                <!--ios自定义参数-->
                <div style=" float:left;width:99%; padding:0 9%;">
                    <div style=" float:left; padding:8px 0; margin-right:3%;"><label>自定义参数：</label></div>

                    <div id="iosfive" style="float:left; padding:5px 14px;">
                        <label class="checkbox-inline" >
                            <input type="checkbox" name="aa"  value="1" id="iosfiveinput"  > key-value（最多五个）：
                        </label>
                    </div>
                </div>
                <div class="iosfivep">
                    <table id="iosFive" style="width:100%;">
                        <tr>
                            <th class="iosfivetitle">key</th>
                            <th class="iosfivetitle">value</th>
                            <th class="iosfivesc"></th>
                        </tr>
                        <tr>
                            <td class="iosfivebody"><input type="text" class="form-control"></td>
                            <td class="iosfivebody"><input type="text" class="form-control"></td>
                            <td class=""></td>
                        </tr>
                    </table>
                    <div class="iosfiveadd" onclick="javascript:addIosCurrentRow();" >+添加Key-Value</div>

                    <script>
                        function addIosCurrentRow()
                        {
                            var a = $('#iosFive').children().children().length;
                            if(a<6){
                                var trcomp="<tr><td class='iosfivebody'><input type='text' class='form-control'></input></td><td class='iosfivebody'><input type='text' class='form-control'></td><td class='fivesctxt'><a href='javascript:;' onclick='deleteCurrentRow(this);'><font>删除</font></a></td></tr>";
                                $("#iosFive tr:last-child").after(trcomp);
                            }
                        }


                        function deleteIosCurrentRow(obj)
                        {
                            var tr=obj.parentNode.parentNode;
                            var tbody=tr.parentNode;
                            tbody.removeChild(tr);
                        };
                        /*点几次数限制*/


                    </script>

                </div>
                <!--/ios自定义参数-->
                <!--发送对象及时间-->
                <div style="width:99%; border-bottom:#CCC solid 1px; padding:10px 0; float:left; margin-top:20px;">发送对象及时间：</div>
                <!--生产环境-->
                <div class="ioscontentfirst ioscontentin" style="clear:both; padding:0px;">
                    <!--发送对象-->
                    <ul id="iosTabsecond"  style=" padding:15px 9%;">
                        <div style=" float:left; padding:0px 0; margin-right:3%;"><label>发送对象：</label></div>
                        <li>
                            <label class="checkbox-inline">
                                <input type="radio" name="fsdx"  value="1" checked > 所有人
                            </label>
                        </li>
                        <li>
                            <label class="checkbox-inline">
                                <input type="radio" name="fsdx"  value="1" > 指定终端
                            </label>
                        </li>
                        <li>
                            <label class="checkbox-inline">
                                <input type="radio" name="fsdx"  value="1"> 指定账号
                            </label>
                        </li>
                    </ul>
                    <!--所有人-->
                    <div class="ioscontentsecond" style="clear:both;padding:0px;"></div>
                    <!--指定终端-->
                    <div class="ioscontentsecond">
                        <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" class="form-control ng-pristine ng-valid" ng-model="" placeholder="请输入DeviceID，多个终端用逗号分隔"></div>
                    </div>
                    <!--指定账号-->
                    <div class="ioscontentsecond">
                        <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" class="form-control ng-pristine ng-valid" ng-model="" placeholder="请输入账号，多个账号用逗号分隔"></div>
                    </div>
                    <!--/发送对象-->
                </div>
                <!--/生产环境-->

                <!--开发环境-->
                <div class="ioscontentfirst">
                    <!--发送对象-->
                    <ul id="iosTabsecond"  style=" padding:15px 9%;">
                        <div style=" float:left; padding:0px 0; margin-right:3%;"><label>发送对象：</label></div>
                        <li>
                            <label class="checkbox-inline">
                                <input type="radio" name="zdzd"  value="1" checked > 指定终端
                            </label>
                        </li>
                        <li>
                            <label class="checkbox-inline">
                                <input type="radio" name="zdzd"  value="1"> 指定账号
                            </label>
                        </li>
                    </ul>
                    <!--指定终端-->
                    <div class="ioscontentsecond ioscontentin2">
                        <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" class="form-control ng-pristine ng-valid" ng-model="" placeholder="请输入DeviceID，多个终端用逗号分隔"></div>
                    </div>
                    <!--指定账号-->
                    <div class="ioscontentsecond">
                        <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2"><input type="text" class="form-control ng-pristine ng-valid" ng-model="" placeholder="请输入账号，多个账号用逗号分隔"></div>
                    </div>
                    <!--/发送对象-->
                </div>
                <!--/开发环境-->
                <!--发送时间-->
                <div class="clearfix"></div>
                <ul id="iosTabthird"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:0px 0; margin-right:3%;"><label>发送时间：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="fc"  value="1" checked > 立即发送
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="fc"  value="1"> 定时发送
                        </label>
                    </li>

                </ul>
                <!--立即发送-->
                <div class="ioscontentthird" style="clear:both;padding:0px;"></div>
                <!--定时发送-->
                <div class="ioscontentthird">
                    <div role="tabpanel" class="tab-pane well active"  ng-show="data.operationType == 2">
                        <input class="easyui-datetimebox" value="10/11/2012 2:3:56" style="width:200px">
                    </div>
                </div>
                <!--/发送时间-->
                <!--离线保存-->
                <div class="clearfix"></div>
                <ul id="iosTabforth"  style=" padding:15px 9%;">
                    <div style=" float:left; padding:0px 0; margin-right:3%;"><label>离线保存：</label></div>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="bbc"  value="1"> 不保存
                        </label>
                    </li>
                    <li>
                        <label class="checkbox-inline">
                            <input type="radio" name="bbc"  value="1" checked > 保存
                        </label>
                    </li>

                </ul>
                <!--不保存-->
                <div class="ioscontentforth" style="clear:both;padding:0px;"></div>
                <!--保存-->
                <div class="ioscontentforth ioscontentin4">
                    <div class="well col-sm-12">保存 <input type="number" ng-model="data.timeout" name="saveTime" id="saveTime" max="72" min="1" placeholder="72" class="ng-pristine ng-invalid ng-invalid-number ng-valid-max ng-valid-min"> 小时，该时段之后再上线的用户将收不到推送 <span ng-show="" class="alert-danger ng-hide">至少保存1小时</span> <span ng-show="" class="alert-danger ng-hide">最多只能保存72小时</span></div>
                </div>
                <!--/离线保存-->
                <!--/发送对象及时间-->
                <!--/点击通知后操作-->
            </div>
            <!--/ios-->
            <div class="col-sm-10">
                <button type="button" class="btn btn-info btn-squared" onclick="submitAndroidForm()" style="width:120px">
                    确定发送
                </button>
            </div>
        </div>
        <div title="Tab3"  style="padding:20px;display:none;">
            tab3
        </div>
    </div>
</div>
</body>
</html>